package com.duang.framework.render;

abstract public class AbstractRenderFactory implements RenderFactory {

	public static ContentViewRender getOutputStreamRender() {
		return SingletonOutput.out;
	}

	public static ContentViewRender getTextRender() {
		return SingletonText.out;
	}

	public static class SingletonText {
		private final static ContentViewRender out = new TextRender();
	}

	public static class SingletonOutput {
		private final static ContentViewRender out = new OutViewRender();
	}

}
